class Api::V1::UsersController < ApplicationController
  def index
    users = User.page(params[:page])
    render json: { resources: users, count: User.count }
  end

  def create
    user = User.new email: '222@qq.com'
    user.save
    render json: user
  end
end
